package Controller;

import Entity.OperatoerDTO;
import java.util.ArrayList;

public interface IOperatoerDAO
{
	//int loginUser(String passwd, int id);
	OperatoerDTO getOperatoer(int oprId) throws DALException;
	
	ArrayList<OperatoerDTO> getOperatoerList() throws DALException;
	
	void createOperatoer(OperatoerDTO opr) throws DALException;
	
	void updateOperatoer(OperatoerDTO opr) throws DALException;
//	String passwordGenerator(String passwd);
//	String opchangepasswd(int Id);
	//double beregningNetto(double Tara, double Brutto);
	
	public class DALException extends Exception   //added exception class
	{
		public DALException()
		{
			super( " findes ikke.");
		}
	}

}
